package cn.qh.seasonal.dto;

import java.util.Date;


import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.*;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

/**
 * (Shift)表实体类
 *
 * @author makejava
 * @since 2021-11-04 09:01:05
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel
@SuppressWarnings("serial")
public class ShiftDTO implements Serializable {
    /**
     * 班次id
     */
    @ApiModelProperty(name = "id", value =
            "班次id", dataType = "java.lang.Integer")
    private Integer id;
    /**
     * 班次名字
     */
    @ApiModelProperty(name = "shiftName", value =
            "班次名字", dataType = "java.lang.String")
    private String shiftName;
    /**
     * 班次对应的工厂id
     */
    @ApiModelProperty(name = "shiftGcId", value =
            "班次对应的工厂id", dataType = "java.lang.String")
    private String shiftGcId;
    /**
     * 班次对应得时令id
     */
    @ApiModelProperty(name = "seasonalId", value =
            "班次对应得时令id", dataType = "java.lang.Integer")
    private Integer seasonalId;
    /**
     * 班次开始时间
     */
    @ApiModelProperty(name = "startTime", value =
            "班次开始时间", dataType = "java.lang.String")
    private String startTime;
    /**
     * 班次结束时间
     */
    @ApiModelProperty(name = "endTime", value =
            "班次结束时间", dataType = "java.lang.String")
    private String endTime;
    /**
     * 班次描述
     */
    @ApiModelProperty(name = "description", value =
            "班次描述", dataType = "java.lang.String")
    private String description;
    /**
     * 班次创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "createdTime", value =
            "班次创建时间", dataType = "java.util.Date")
    private Date createdTime;
    /**
     * 班次更新时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "updateTime", value =
            "班次更新时间", dataType = "java.util.Date")
    private Date updateTime;
    /**
     * 版本
     */
    @ApiModelProperty(name = "version", value =
            "版本", dataType = "java.lang.String")
    private String version;
    /**
     * 逻辑删除
     */


    private int isCross;
}

